<%@page contentType="text/html;charset=UTF-8"%>

<div class="Teg_header">
	<div class="teg_logo">
		<%-- 
		<a href="#"><img src="${ctx}/style/images/csr_logo.jpg" border="0"/></a>
		<a id="zhd_zhdLOGO_hypLogo" title="南车株洲电力机车研究所有限公司" href="${ctx}"><img id="zhd_zhdLOGO_imgLogo" src="${ctx}/style/images/teg_logo.jpg" alt="南车株洲电力机车研究所有限公司" style="border-width:0px;" /></a>
		--%>
		<a href="#"> </a>
	</div>
	<s:action namespace="/task" name="task/taskCount" ></s:action>
   	<div class="Teg_nav">
   		<div class="navmenu-container">
   			<ul class="navmenu">
   				<li class="active"><a href="${ctx}/index.do" ><span>首页</span></a></li>
   				<li class="active">
   					<c:if test="${sessionScope.loginInfo.category == 1}">
   					<a href="${ctx}/zdxzdc/myTask.do?opt=zdxzdc" id="mytask"><span>我的任务</span></a>
   					</c:if>
   					<c:if test="${sessionScope.loginInfo.category != 1}">
   					<a href="${ctx}/task_create.do?opt=createtask" id="mytask"><span>我的任务</span></a>
   					</c:if>
   					<c:if test="${requestScope.myCount > 0}"><s class="chnNew"></s></c:if>
   					<%--<s class="chnNew">总<c:if test="${requestScope.myCount > 0}">(${requestScope.myCount})</c:if></a></s> --%>
   				</li>
   				<c:if test="${sessionScope.loginInfo.category == 1}">
   				<li class="active">
   					<a href="${ctx}/taskReturn/my.do?opt=return"><span>业联申诉</span></a>
   					<c:if test="${requestScope.taskReturnCount > 0}"><s class="chnNew"></s></c:if>
   				</li>
   				</c:if>
   				<li class="active"><a href="${ctx}/office_search.do" ><span>归档公文</span></a></li>
   				<s:action namespace="/core" name="module/getModuleCount" ></s:action>
   				<li class="active"><a href="${ctx}/pubDqgz/dqgz.do" ><span>党群工作</span></a></li>
   				<s:if test="%{#request.mdcount>0}">
   				<li class="active"><a href="${ctx}/admin.do" target="_blank"><span>办公管理</span></a></li>
   				</s:if>
   				<s:else>
   					<s:if test="%{#session.loginInfo.isSysAdmin == 1}">
   					<li class="active"><a href="${ctx}/admin.do" target="_blank"><span>办公管理</span></a></li>
   					</s:if>
   				</s:else>
   				
   				
   			</ul>
   			
   			<div class="teg_myinfo" style="color: #ffffff">
				<span class="style1">
				<a href="${ctx}/msgTips_my.do">${sessionScope.loginInfo.realname} </a>
				[<a href="${ctx}/member_logout.do">退出</a>] 
				<a href="#" onclick="setting()">设置</a>
				</span>
				<%-- 
				<span class="style2">今天是:
		        	<script language=JavaScript>
						 today=new Date();
						 function initArray(){
						   this.length=initArray.arguments.length
						   for(var I=0;I<this.length;I++)
						   this[I+1]=initArray.arguments[I]  
						 }
						 var d=new initArray(
						     "周日",
						     "周一",
						     "周二",
						     "周三",
						     "周四",
						     "周五",
						     "周六");
						document.write(
						     " ",
						     today.getYear(),"年",
						     today.getMonth()+1,"月",
						     today.getDate(),"日       ",
						     d[today.getDay()+1],
						     "" ); 
		          	</script>
		        </span>
				--%>
			</div>
   		</div>
   	</div>
</div>
<script type="text/javascript">
	//$("#mytask").colorTip({color:'blue'}); 
	function setting(){
		window.location.href="${ctx}/user/setting.do";
		/*
		$.dialog({
		  	id:'user_setting', 
		  	title:'用户信息设置', 
		  	content: 'url:${ctx}/user/settingPwd.do?timestamp='+new Date().getTime(), 
		  	max:false,
		  	min:false,
		  	width:500, 
		  	height:200,
		  	ok: function(){ 
		       	var m = user_setting.updateUserSetting();
		        return m; 
		    }, 
		    cancelVal: '关闭', 
		    cancel: true
		});
		*/
	}
</script>